import request from '@/utils/request'

export const login = data => request.post('/sys/login', data)

export const profile = () => request.get('/sys/profile')

export const updatePass = data => request.put('/sys/user/updatePass', data)
